package com.weixiaodong.ModelDesign.生成实例.builder模式.案例;


import java.util.Arrays;

@SuppressWarnings("all")
public final class Document {
    private String title;

    private String[] content;

    private String[] items;

    public Document(String title, String[] content, String[] items) {
        this.title = title;
        this.content = content;
        this.items = items;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String[] getContent() {
        return content;
    }

    public void setContent(String[] content) {
        this.content = content;
    }

    public String[] getItems() {
        return items;
    }

    public void setItems(String[] items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "Document{" +
                "title='" + title + '\'' +
                ", content=" + Arrays.toString(content) +
                ", items=" + Arrays.toString(items) +
                '}';
    }
}
